package com.nantian.service;

import com.nantian.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.elasticsearch.core.query.SearchQuery;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import javax.jws.soap.SOAPBinding;
import java.util.List;


public interface UserService {

    //添加数据
    public void save(User user);

    //根据条件进行分页查询
    public Page<User> searchUser( Integer pageNumber, Integer pageSize, String searchContent);

}
